package lianxi3;

public class text {
    public static void main(String[] args) {
        People p2 = new Teacher("张三",  "数学");
        p2.doing();
        People p3 = new Student("李四","游泳");
        p3.doing();

    }
}
